package services
{
	import flash.utils.ByteArray;

	public interface IServiceFile
	{
		function readFile(path:String) : ByteArray;
		function writeFile(path:String, data:ByteArray, extension:String = null) : Boolean;
		function fileExists(path:String) : Boolean;
		function isDirectory(path:String) : Boolean;
		function getFileName(path:String) : String;
		function getFileExtension(path:String) : String;
	}
}